home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / lisp / kcl / akcl / akcl1615.lha / h / symmetry.h < prev    next >
C/C++ Source or Header  |  1990-11-07  |  1KB  |  46 lines

  1. /* Machine-specific header declarations for Sequent Symmetry/DYNIX-3.0.12+ */
  2. /* by Marion Hakanson <hakanson@cse.ogi.edu>, Oregon Graduate Institute.   */
  3. /* $Id: symmetry.h,v 1.3 90/11/07 15:19:42 hakanson Exp $ */
  4.  
  5. extern char etext;
  6.  
  7. #define SEQ
  8. #define SEQUENT
  9. #define SYMMETRY
  10. #define I386
  11. #include "bsd.h"
  12. #undef    SFASL
  13.  
  14. /* what would be in h/include.h, and not in h/bsd.h */
  15. #define    IEEEFLOAT
  16.  
  17. #define ADDITIONAL_FEATURES \
  18.              ADD_FEATURE("SEQ"); \
  19.              ADD_FEATURE("SEQUENT"); \
  20.              ADD_FEATURE("SYMMETRY"); \
  21.              ADD_FEATURE("I386");
  22.  
  23.  
  24. #define    TXTRELOC    N_ADDRADJ(header)    /* from a.out.h */
  25.  
  26. #define DATA_BEGIN (char *)(N_DATAOFF(header) + N_ADDRADJ(header));
  27.  
  28. /* width of page size that can be memory protected log2(getpagesize()) */
  29. /* Also used in h/object.h to declare PAGESIZE, as used in h/bsd.h,
  30.    as well as in much of the memory allocation code.  This ensures
  31.    that the sbrk() boundary is on an even page, for creating a proper
  32.    executable image. */
  33.    
  34. #define PAGEWIDTH 12 
  35.  
  36. #undef   FILECPY_HEADER
  37. #define FILECPY_HEADER \
  38.     filecpy(save, original, header.a_text \
  39.                 - N_ADDRADJ(header) \
  40.                 - sizeof(header));
  41.  
  42. /* Begin for cmpinclude */
  43.  
  44.  
  45. /* End for cmpinclude */
  46.